﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<LoginForm>" %>
<%@ Import Namespace="InputBuilder"%>
<%@ Import Namespace="Webshop20.Presentation"%>
<%@ Import Namespace="System.Web.Mvc.Html"%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <% Html.BeginForm(); %>
        <%= Html.Input(x=>x.UserName) %>
        <%= Html.Input(x=>x.Password) %>
        <%= Html.SubmitButton() %>
    <% Html.EndForm(); %>
    
    <%=Html.InputForm("Login", "Index")%>
    
<% using (Html.BeginForm())
   { %>
    <%= Html.Hidden(Model.TargetControllerFieldName(), Model.TargetController) %>
    <%= Html.Hidden(Model.TargetActionFieldName(), Model.TargetAction) %>
    Benutzername : <%= Html.TextBox(Model.UserNameFieldName()) %><br />
    Passwort: <%= Html.Password(Model.PasswordFieldName()) %><br />
    <input type="submit" value="Senden" />
<%} %>

</asp:Content>
